﻿using System.ComponentModel.DataAnnotations;
using System;
namespace XSTDZ.ERP.Application.DataContracts
{
    [Serializable]
    public class ProductTypeDto
    {
        public Guid? ID { get; set; }
        [Display(Name="商品类别名称")]
        [Required(ErrorMessage="{0}不能为空！")]
        public string TypeName { get; set; }
        [Display(Name = "商品类别编码")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public string TypeCode { get; set; }
        [Display(Name = "排序数字")]
        public short TypeOrder { get; set; }
        public System.Guid? ParentID { get; set; }
        public bool IsLeaf { get; set; }
        [Display(Name = "删除状态")]
        public int Deleted { get; set; }
        [Display(Name = "备注")]
        public string Remarks { get; set; }
        public int? Level { get; set; }
    }
}
